class Myclass():
    def function(self,a):
        i = 0
        while i < 10:
            a[i] = a[i] + 1
            i = i + 1

    aa = [1, 2, 3, 4, 5, 6, 7, 8, 9, 0]



myclass = Myclass()
b = [2,3,4,5,6,7,8,9,10,11,12]
myclass.function(b)
print(b)